package com.it.emall.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.Date;

/**
 * 广告banner
 */
@Data
public class BannerAd {

    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    private String link;
    private String url;
    private Integer position;
    private String content;
    @TableField("start_time")
    private Date startTime;
    @TableField("end_time")
    private Date endTime;
    private Boolean enabled;
    @TableField("add_time")
    private Date addTime;
    @TableField("update_time")
    private Date updateTime;
    private Boolean deleted;

}
